class CreateEshopShippingMethods < ActiveRecord::Migration
  def change
    create_table :eshop_shipping_methods, :force => true do |t|
      t.string  :presentation, :limit => 30, :null => false
      t.string  :name, :limit => 30, :null => false
      t.text    :description,        :null => true
      t.decimal :price, :precision => 7, :scale => 2, :default => "0.0", :null => true
      t.boolean :hidden,    :default => false
      t.integer :position, :limit => 2
    end
  end
end